#define  _CRT_SECURE_NO_WARNINGS 1
/*
*Name:celsius
*Purpose:Converts a Fahrenheit temperature to Celsius.
* Author:zzr
*/

#include <stdio.h>

#define FREEZING_PT 32.f
#define SCALE_FACTOR (5.0f/9.0f)

int main(void)
{
	float fahrenheit, celsius;

	printf("Enter Fahrenheit temperature: ");
	scanf("%f", &fahrenheit);

	celsius = (fahrenheit - FREEZING_PT) * SCALE_FACTOR;

	printf("Celsius equivalent:%.1f\n", celsius);

	return 0; 
}